package com.syg.boot.mq.cmq.autoconfigure;

import com.syg.boot.mq.common.MQProperties;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author qg
 * @version 1.0
 */
@Configuration
@EnableConfigurationProperties({MQProperties.class})
@ConditionalOnProperty(
        value = {"syg.boot.mq.enabled"},
        matchIfMissing = false
)
public class CmqAutoConfiguration {
}
